import Components from 'unplugin-vue-components/vite'
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'

export default function createComponents() {
    return Components({
        imports: [
            'vue',
            'element-plus',
        ],
        resolvers: [ElementPlusResolver()],
        dts: false
    })
}
